package cn.com.connext.scrm.service.mapper;

import cn.com.connext.scrm.domain.master.Product;
import cn.com.connext.scrm.service.dto.JsonResult;
import cn.com.connext.scrm.web.rest.req.*;
import org.springframework.data.domain.Page;

public interface ProductService {
    JsonResult save(ProductReq req);

    Page queryLists(ProduceQueryReq req);

    Page pages(ProduceQueryReq req);

    JsonResult delete(String id);

    JsonResult isAlive(String id);

    JsonResult stock(StockReq req);

    JsonResult detail(String req);

    JsonResult getStockLogs(StockLogsReq req);

    Product getProductDetails(String productId);

    Page findByPointManagerId(ProduceReq req);
}
